#include<stdio.h>
	int main()
	{  
	  /*********Begin*********/
	  int num[5],total=0;
      

      double average;
      printf("");
      for(int i=0;i<5;i++)
	  {
          scanf("%d",&num[i]);
          total +=num[i];
          
      }
      average=total/5.0;
      printf("%d\n",total);
      printf("%.2f\n",average);
	  /*********End**********/ 


       return 0;
	}
